import { propsListType } from "@/components/Table/type"

export const propsList: propsListType[] = [
  {
    type: "custom",
    prop: "device_type_id",
    label: "设备类型",
    slotName: "type"
  },
  {
    type: "custom",
    prop: "device_name",
    label: "设备名称",
    slotName: "name"
  },
  {
    type: "normal",
    prop: "device_code",
    label: "呼叫码"
  },
  {
    type: "normal",
    prop: "updated_at",
    label: "编辑日期"
  },
  {
    type: "normal",
    prop: "ip",
    label: "接收器IP"
  },
  {
    type: "handler",
    prop: "ip",
    label: "操作",
    slotName: "handler"
  }
]

export const modalPropsList: propsListType[] = [
  {
    type: "normal",
    prop: "sort",
    label: "位置编号"
  },
  {
    type: "custom",
    prop: "device_name",
    label: "设备名称",
    slotName: "name"
  },
  {
    type: "normal",
    prop: "device_code",
    label: "呼叫码"
  }
]
